package com.pubinfo.passbook.common.service.master;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.pubinfo.passbook.common.entity.TRuleGenus;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pubinfo.passbook.common.model.dto.rule.RuleGenusParam;

/**
 *
 */
public interface TRuleGenusService extends IService<TRuleGenus> {
  
  boolean saveRuleGenus(TRuleGenus ruleGenus);
  
  boolean deleteRuleGenus(String id);
  
  /**
   * 根据身份证号,查询是否为供属
   *
   * @param idNo
   * @return
   */
  Boolean isGenus(String idNo);
  
  String findAcctByidNo(String idNo);
  
  TRuleGenus findRuleGenusByidNo(String idNo);
  
  IPage<TRuleGenus> selectRuleGenus(RuleGenusParam param);
}
